Previous Book Contents Book Index Next

Inside Macintosh: QuickTime /
Chapter 2 - Movie Toolbox / Movie Toolbox Reference
Functions for Getting and Playing Movies / Movie Posters and Movie Previews


GetMoviePosterTime

The GetMoviePosterTime function returns the poster's time in the movie. Since a movie poster has no duration, a poster is defined by a point in time within the movie. The time value returned is in the time coordinate system of the movie.

pascal TimeValue GetMoviePosterTime (Movie theMovie);
theMovie
Specifies the movie for this operation. Your application obtains this movie identifier from such functions as NewMovie, NewMovieFromFile, and NewMovieFromHandle (described on page 2-80, page 2-76, and page 2-78, respectively).
DESCRIPTION
The GetMoviePosterTime function returns a time value. This time value contains the starting time for the movie frame that contains the movie poster image.

ERROR CODES
invalidMovie-2010This movie is corrupted or invalid
SEE ALSO
Your application can set a poster's time by calling the SetMoviePosterTime function, which is described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996